package com.niuwa.p2p.dao.channel;

import java.util.List;
import java.util.Map;

import com.niuwa.p2p.dao.MyBatisDao;
import com.niuwa.p2p.entity.channel.ChannelVedio;
import com.niuwa.p2p.entity.channel.ChannelVedioKey;
import com.niuwa.p2p.vo.channel.ChannelVideoNwFileVo;

@MyBatisDao
public interface ChannelVedioDao {
    int deleteByPrimaryKey(ChannelVedio key);

    int insert(ChannelVedio record);

    int insertSelective(ChannelVedio record);
    /**
     * 分页查询影像文件列表
     * @return
     */
	List<ChannelVideoNwFileVo> searchChannelImgVideoByCorpCode(Map<String, Object> paramMap);
	/**
	 * 通过渠道编号查询影像文件列表数
	 * @param paramMap
	 * @return
	 */
	Integer getChannelImgVideoCountByCorpCode(Map<String, Object> paramMap);
	
	/**
	 * 假删除影像文件的本地记录
	 * @param fileID
	 */
	void updateByPrimaryKeySelective(ChannelVedio channelVedio);
}